וַיֵּרָ֧א יְהוָ֛ה אֶל־שְׁלֹמֹ֖ה בַּלָּ֑יְלָה וַיֹּ֣אמֶר ל֗וֹ שָׁמַ֙עְתִּי֙ אֶת־תְּפִלָּתֶ֔ךָ וּבָחַ֜רְתִּי בַּמָּק֥וֹם הַזֶּ֛ה לִ֖י לְבֵ֥ית זָֽבַח׃
Y apareció SEÑOR á Salomón de noche, y díjole: Yo he oído tu oración, y he elegido para mí este lugar por casa de sacrificio.
Rashi on II Chronicles
And the Lord appeared to Solomon at night in a vision of the night.
Rashi on II Chronicles
I have heard your prayer With the wording that Solomon used, “And You shall hear.” The Holy One, blessed be He, answered him: “I have heard your prayer.” He prayed, (above 6:26): “When heaven is closed up.” And the Holy One, blessed be He, answered him, “If I close up.” He prayed concerning famine and locusts, and the Holy One, blessed be He, answered him, “if I command locusts.” He prayed concerning pestilence, and the Holy One, blessed be He, answered him, “or if I send pestilence upon My people.
Rashi on II Chronicles
and My people... humble themselves” by praying and seeking My presence and repenting of their evil ways. Hence we have three [responses] corresponding to three [entreaties].